/* pages/collect/index.wxss */
page {
  background-color: #eee;
}

.active {
  border-bottom: 1px solid var(--color);
  color: var(--color);
}

.tab {
  display: flex;
}

.tab text {
  flex: 1;
  text-align: center;
  height: 80rpx;
  line-height: 80rpx;
}

.activeText {
  border-color: var(--color) !important;
  color: var(--color);
}

.catecary {
  margin: 30rpx 0;

  text {
    border: 1px solid #ccc;
    font-size: 28rpx;
    padding: 5rpx 10rpx;
    margin: 0 20rpx;
  }
}

.good {
  margin: 0 0 20rpx;
  display: flex;
  background-color: #fff;
  padding: 20rpx;

  image {
    // width: 200rpx;
    flex: 3;
  }

  .textDeriction {
    padding-left: 20rpx;
    flex: 7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    view:first-child {
      width: 100%;
      font-size: 28rpx;
      overflow: hidden;

      text-overflow: ellipsis;

      display: -webkit-box;

      -webkit-line-clamp: 3; //多行在这里修改数字即可

      overflow: hidden;

      /* autoprefixer: ignore next */

      -webkit-box-orient: vertical;
    }
  }

  .price {
    color: red;
    font-size: 36rpx;
  }
}